package com.system.weirdor.search.index;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.data.annotation.Id;
import org.springframework.data.elasticsearch.annotations.Document;


@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@Document(indexName = "idx_stream_tests", type = "es_corporate", shards = 3, replicas = 1, refreshInterval = "-1")
public class EsCorporate {
	// 主键
    @Id
	private String id;
	// 全局唯一键
	private String uuid;
	// 记录创建人
	private Long userId;
	// 父级编号
	private Long parentId;
	// 公司主页
	private String site;
	// 公司名称
	private String name;
	// 公司别名
	private String alias;
	// 公司签名
	private String signature;
	// 企业logo
	private String logo;
	// 公司标签: 如五险一金等
	private String tags;
	// 所属行业ID集合:1,2,3
	private String industryIds;
	// 所属行业自定义
	private String industryExt;
	// 规模类型
	private Long scaleId;
	// 规模自定义
	private String scaleExt;
	// 融资类型
	private Long financeId;
	// 融资类型自定义
	private String financeExt;
	// 公司介绍
	private String introduce;
	// 1:已审核 5 待审核
	private Integer audit;
	// 营业执照地址
	private String licence;
	// 企业三合一信用码
	private String creditCode;
	// 创建时间
	private java.util.Date createTime;
	// 更新时间
	private java.util.Date updateTime;
	// 有效性
	private Integer enabled;
	
	private String tel;
	
	private String address;
	
	//组织代码
	private String organizationCode;
	
 
	public String getId() {
		return id;
	}
	public void setId(String id) {
		this.id = id;
	}
	
	public String getTel() {
		return tel;
	}
	public void setTel(String tel) {
		this.tel = tel;
	}
	public String getAddress() {
		return address;
	}
	public void setAddress(String address) {
		this.address = address;
	}

	public String getUuid() {
		return uuid;
	}
	public void setUuid(String uuid) {
		this.uuid = uuid;
	}
	public Long getUserId() {
		return userId;
	}
	public void setUserId(Long userId) {
		this.userId = userId;
	}
	public Long getParentId() {
		return parentId;
	}
	public void setParentId(Long parentId) {
		this.parentId = parentId;
	}
	public String getSite() {
		return site;
	}
	public void setSite(String site) {
		this.site = site;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getAlias() {
		return alias;
	}
	public void setAlias(String alias) {
		this.alias = alias;
	}
	public String getSignature() {
		return signature;
	}
	public void setSignature(String signature) {
		this.signature = signature;
	}
	public String getLogo() {
		return logo;
	}
	public void setLogo(String logo) {
		this.logo = logo;
	}
	public String getTags() {
		return tags;
	}
	public void setTags(String tags) {
		this.tags = tags;
	}
	public String getIndustryIds() {
		return industryIds;
	}
	public void setIndustryIds(String industryIds) {
		this.industryIds = industryIds;
	}
	public String getIndustryExt() {
		return industryExt;
	}
	public void setIndustryExt(String industryExt) {
		this.industryExt = industryExt;
	}
	public Long getScaleId() {
		return scaleId;
	}
	public void setScaleId(Long scaleId) {
		this.scaleId = scaleId;
	}
	public String getScaleExt() {
		return scaleExt;
	}
	public void setScaleExt(String scaleExt) {
		this.scaleExt = scaleExt;
	}
	public Long getFinanceId() {
		return financeId;
	}
	public void setFinanceId(Long financeId) {
		this.financeId = financeId;
	}
	public String getFinanceExt() {
		return financeExt;
	}
	public void setFinanceExt(String financeExt) {
		this.financeExt = financeExt;
	}
	public String getIntroduce() {
		return introduce;
	}
	public void setIntroduce(String introduce) {
		this.introduce = introduce;
	}
	public Integer getAudit() {
		return audit;
	}
	public void setAudit(Integer audit) {
		this.audit = audit;
	}
	public String getLicence() {
		return licence;
	}
	public void setLicence(String licence) {
		this.licence = licence;
	}
	public String getCreditCode() {
		return creditCode;
	}
	public void setCreditCode(String creditCode) {
		this.creditCode = creditCode;
	}
	public java.util.Date getCreateTime() {
		return createTime;
	}
	public void setCreateTime(java.util.Date createTime) {
		this.createTime = createTime;
	}
	public java.util.Date getUpdateTime() {
		return updateTime;
	}
	public void setUpdateTime(java.util.Date updateTime) {
		this.updateTime = updateTime;
	}
	public Integer getEnabled() {
		return enabled;
	}
	public void setEnabled(Integer enabled) {
		this.enabled = enabled;
	}


}
